package priv.pfz.basedao.jdbctemplate;

import lombok.Data;

import java.util.List;

/**
 * @author yyjxp
 * 2024/8/1 23:31
 */
@Data
public class SqlResult {
    private String sqlTemplate;
    private Object[] args;

    public SqlResult(String sqlTemplate, List<Object> argList) {
        this.sqlTemplate = sqlTemplate;
        this.args = argList.toArray(new Object[0]);
    }
}
